﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace XF.Meeting.Api.Models
{
    public class ChangePwd
    {
        [Required(ErrorMessage = "用户名不能为空")]
        public string UserName { get; set; }
        [Required(ErrorMessage = "密码不能为空")]
        [StringLength(maximumLength:16,ErrorMessage ="密码长度在5~16之间",MinimumLength =5)]
        public string PassWord { get; set; }
    }
}